Make the new GtkAction code work with PolicyKit-gnome's use of actions.
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 7 Feb 2009 03:17:43 +0000 (03:17 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 7 Feb 2009 03:17:43 +0000 (03:17 +0000)
commit70b08f1e644612a81ff2f875502be92b596da8c0
treeac9f4fd5a86e9b66b7f4248d79f248090a7ae337
parent302cc82c71a1f5d17f9149cff3b90cf6113ac03c
    Make the new GtkAction code work with PolicyKit-gnome's use of actions.

        * gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
        the action.

        * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
        * gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
        * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
        Work with non-toggle actions without complaining.

        * gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
        the icon-name should not remove the label.

        * gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
        update the image when the icon name is set to NULL.

svn path=/trunk/; revision=22290
ChangeLog
gtk/gtkaction.c
gtk/gtkcheckmenuitem.c
gtk/gtkimagemenuitem.c
gtk/gtktogglebutton.c
gtk/gtktoggletoolbutton.c
gtk/gtktoolbutton.c